package com.ruoyi.shopping.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 佣金记录对象 jy_mall_commission_record
 *
 * @author scx
 * @date 2022-06-10
 */
@ApiModel
public class MallCommissionRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    @ApiModelProperty(value = "订单id")
    private String orderId;

    /** 订单名称 */
    @Excel(name = "订单名称")
    @ApiModelProperty(value = "订单名称")
    private String orderName;

    /** 订单金额 */
    @Excel(name = "订单金额")
    @ApiModelProperty(value = "订单金额")
    private BigDecimal orderMoney;

    /** 订单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "订单时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "订单时间")
    private Date orderTime;

    /** 下单用户id */
    @Excel(name = "下单用户id")
    @ApiModelProperty(value = "下单用户id")
    private Long memberId;

    /** 门店id */
    @Excel(name = "门店id")
    @ApiModelProperty(value = "门店id")
    private Long storeId;

    /** 门店名称 */
    @Excel(name = "门店名称")
    @ApiModelProperty(value = "门店名称")
    private String storeName;


    /** 记录名称 */
    @Excel(name = "记录名称")
    @ApiModelProperty(value = "记录名称")
    private String recordName;

    /** 记录类型 */
    @Excel(name = "记录类型")
    @ApiModelProperty(value = "记录类型")
    private String recordType;

    /** 记录金额 */
    @Excel(name = "记录金额")
    @ApiModelProperty(value = "记录金额")
    private BigDecimal recordMoney;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public String getOrderId()
    {
        return orderId;
    }
    public void setOrderName(String orderName)
    {
        this.orderName = orderName;
    }

    public String getOrderName()
    {
        return orderName;
    }
    public void setOrderMoney(BigDecimal orderMoney)
    {
        this.orderMoney = orderMoney;
    }

    public BigDecimal getOrderMoney()
    {
        return orderMoney;
    }
    public void setOrderTime(Date orderTime)
    {
        this.orderTime = orderTime;
    }

    public Date getOrderTime()
    {
        return orderTime;
    }
    public void setMemberId(Long memberId)
    {
        this.memberId = memberId;
    }

    public Long getMemberId()
    {
        return memberId;
    }
    public void setStoreId(Long storeId)
    {
        this.storeId = storeId;
    }

    public Long getStoreId()
    {
        return storeId;
    }
    public void setStoreName(String storeName)
    {
        this.storeName = storeName;
    }

    public String getStoreName()
    {
        return storeName;
    }
    public void setRecordName(String recordName)
    {
        this.recordName = recordName;
    }

    public String getRecordName()
    {
        return recordName;
    }
    public void setRecordType(String recordType)
    {
        this.recordType = recordType;
    }

    public String getRecordType()
    {
        return recordType;
    }
    public void setRecordMoney(BigDecimal recordMoney)
    {
        this.recordMoney = recordMoney;
    }

    public BigDecimal getRecordMoney()
    {
        return recordMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("orderName", getOrderName())
            .append("orderMoney", getOrderMoney())
            .append("orderTime", getOrderTime())
            .append("memberId", getMemberId())
            .append("storeId", getStoreId())
            .append("storeName", getStoreName())
            .append("recordName", getRecordName())
            .append("recordType", getRecordType())
            .append("recordMoney", getRecordMoney())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
